<?php
/**
* columnarea.php
*
* Create on 2015-7-28
* Create by LL
*/
namespace haibao\app\model\data;

class ColumnArea extends Base{

	
	const CACHE_COLUMN_AREA_KEY = 'COLUMNAREA_';
	const CACHE_AREA_KEY = 'AREA_';
	
	/**
	 * 功能状态(1 显示 0 不显示)
	 * 
	 */
	const STATUS_YES = 1;
	
	const STATUS_DELETE = 2;
	
	const STATUS_NO = 0;
	
	
	/**
	 * 地区ID
	 */
	public $AreaId;

	/**
	 * 排序号
	 */
	public $Sort;
	
	/**
	 * 功能状态
	 */
	public $Status;
	
	/**
	 * 用户ID
	 */
	public $CreateBy;
	
	/**
	 * 点击量
	 */
	public $ClickNum;
	
	/**
	 * 设置日期
	 */
	public $CreateTime;
	
	public $AreaInfo;
	
	public function __construct(){
		parent::__construct();

		$this->intField('AreaId', 'AreaId', false);
		$this->intField('Sort', 'Sort', false);
		$this->intField('Status', 'Status', false);
		$this->intField('CreateBy', 'CreateBy', false);
		$this->dateField('CreateTime', 'CreateTime', false);
		$this->intField('ClickNum', 'ClickNum', false);
        
		$this->setTableName('ColumnArea');
	}
}